<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/task.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<div>
	<h3>编辑任务信息</h3>
</div>
<div style="width:400px;float:left;">
	<div height="50">
		<form id="editTransferForm">
			<table class="table table-striped">	
				<tr><td class="table-left">移交人</td>
					<td><input type="text" value="${transfer.tn}"/></td>
				</tr>
				<tr><td class="table-left">接收人</td>
					<td><input type="text" value="${transfer.rn}"></td>
				</tr>
				<tr><td class="table-left">任务标题</td>
					<td><input type="text" value="${transfer.title}"></td>
				</tr>
				<tr><td class="table-left">内容</td>
					<td><textarea>${transfer.text}</textarea></td>
				</tr>
				<tr><td class="table-left">标题</td>
					<td><input type="text" id="title" name="title" value="${(task.title)!''}" />
					</td>
				</tr>
				<tr><td class="table-left">开始时间</td>
					<td><input id="start" type="text" name="start" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" value="${(task.start?string('yyyy-MM-dd'))!''}"></td>
				</tr>
				<tr><td class="table-left">结束时间</td>
					<td><input id="end" type="text" name="end" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" value="${(task.end?string('yyyy-MM-dd'))!''}"></td>
				</tr>
				<tr><td class="table-left">提醒时间</td>
				<td><input id="rt" type="text" name="rt" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" value="${(task.rt?string('yyyy-MM-dd'))!''}"></td>
			</tr>
				<tr><td class="table-left">内容</td>
					<td><textarea id="content" name="content">${(task.content)!''}</textarea></td>
				</tr>
				<tr><td class="table-left">备注</td>
					<td><textarea id="remark" name="remark">${(task.remark)!''}</textarea></td>
				</tr>
				<tr><td colspan="2" style="text-align: center;">
						<a class="btn btn-primary" onclick="javascript: history.back(); return false;">
							<i class="fontello-icon-block"></i>&nbsp;取&nbsp;&nbsp;消
						</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>